package com.fang.牛客;

import java.util.*;

public class Demo1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        Map<String, String> map = new HashMap<>();
        for (int i = 1; i <= 26; i++) {
            String key = i > 9 ? i + "*" : i + "";
            char ch = (char) (i + 96);
            String value = String.valueOf(ch).toLowerCase();
            map.put(key, value);
        }
        String input = in.nextLine();
        String result = "";
        String str = "";
        for (int i = 0, len = input.length(); i < len; i++) {
            char ch = input.charAt(i);
            if (input.contains("*")) {
                str += String.valueOf(ch);
                if (ch == '*') {
                    result += map.get(str);
                    str = "";
                }
            } else {
                result += map.get(String.valueOf(ch));
            }
        }
        if (result.length() > 100) {
            result = result.substring(0, 100);
        }
        System.out.println(result);
    }
}
